<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小u课堂</title>
    <link rel="stylesheet" href="http://localhost:3000/static/css/reset.css">
    <link rel="stylesheet" href="http://localhost:3000/static/css/register.css">
</head>
<body>
        <div class="a">
            <img src="http://localhost:3000/static/img/logo.png" alt="" class="b">
          <form action="http://localhost:3000/register" method="post">
            <input name="username" placeholder="请输入用户名" ><br>
            <input name="password" placeholder="请输入密码" ><br>
            <input name="password2" placeholder="请再次输入密码" ><br>
          
            <input type="text" placeholder="请输入验证码" name="yzm">
            <img src="http://localhost:3000/getyzm" alt="" id="oimg">
            <a href="javascript:;" id="oa">看不清？换一张</a>
            <input type="submit" value="注册">

          </form>
           
           
            <p> 
                <input type="checkbox" class="jz">
                <span class="left_jz"><a href="#">我同意《用户使用规则》</a> </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                 <span>已有帐号&nbsp;</span>
                <span class="right_jz"><a href="./register.html">去登录</a> </span></p>
               
    </div>
    </div>
</body>

</html>
<script>
    oa.onclick=function(){
        oimg.src="http://localhost:3000/getyzm?"+Math.random()
    }
</script>